(global.webpackJsonp = global.webpackJsonp || []).push([ [ "wjyk_recycle/pages/exchange-mall/exchange-mall" ], {
    "1d24": function(n, t, e) {
        function o() {
            this.$createElement, this._self._c;
        }
        var a = {
            sunuiTabbar: function() {
                return e.e("components/sunui-tabbar/sunui-tabbar").then(e.bind(null, "f6fd"));
            }
        }, i = [];
        e.d(t, "b", function() {
            return o;
        }), e.d(t, "c", function() {
            return i;
        }), e.d(t, "a", function() {
            return a;
        });
    },
    "3ac5": function(n, t, e) {
        e.r(t);
        var o, a = e("af92"), i = e.n(a);
        for (o in a) "default" !== o && function(n) {
            e.d(t, n, function() {
                return a[n];
            });
        }(o);
        t.default = i.a;
    },
    5656: function(n, t, e) {
        e.r(t);
        var o, a = e("1d24"), i = e("3ac5");
        for (o in i) "default" !== o && function(n) {
            e.d(t, n, function() {
                return i[n];
            });
        }(o);
        e("d702");
        var r = e("f0c5"), a = Object(r.a)(i.default, a.b, a.c, !1, null, null, null, !1, a.a, void 0);
        t.default = a.exports;
    },
    af92: function(n, a, i) {
        (function(e) {
            Object.defineProperty(a, "__esModule", {
                value: !0
            }), a.default = void 0;
            var n, o = (n = i("4795")) && n.__esModule ? n : {
                default: n
            };
            function c(n, t, e, o, a, i, r) {
                try {
                    var u = n[i](r), c = u.value;
                } catch (n) {
                    return e(n), 0;
                }
                u.done ? t(c) : Promise.resolve(c).then(o, a);
            }
            var t = {
                data: function() {
                    return {
                        pic_url: this.$imgUrl,
                        cateList: [],
                        list: [],
                        picList: [],
                        unit: "",
                        tabIndex: 0
                    };
                },
                onLoad: function(n) {
                    this.goodsInfo(), this.unit = e.getStorageSync("name"), this.tabIndex = n.index;
                },
                methods: {
                    changeUrl: function(n, t) {
                        console.log("*********************", n, t, t.appid), 1 == t.type && e.navigateTo({
                            url: t.url
                        }), 2 == t.type && "" != t.appid && null != t.appid && wx.navigateToMiniProgram({
                            appId: t.appid,
                            envVersion: "trial",
                            success: function(n) {
                                console.log("成功", n);
                            },
                            fail: function(n) {
                                console.log("失败", n);
                            }
                        });
                    },
                    search: function() {
                        e.navigateTo({
                            url: "../search/search"
                        });
                    },
                    goodsCategory: function(n, t) {
                        e.navigateTo({
                            url: "../goods-category/goods-category?categoryid=" + n + "&index=" + t
                        });
                    },
                    confirmOrder: function(n) {
                        e.navigateTo({
                            url: "../goods-detail/goods-detail?goodsid=" + n
                        });
                    },
                    goodsInfo: function() {
                        var u, e = this;
                        return u = o.default.mark(function n() {
                            var t;
                            return o.default.wrap(function(n) {
                                for (;;) switch (n.prev = n.next) {
                                  case 0:
                                    return n.next = 2, e.$http({
                                        url: e.$api.goods
                                    });

                                  case 2:
                                    0 == (t = n.sent).errno && (console.log("获得商城信息", t), e.cateList = t.data.cateList, 
                                    e.list = t.data.list, e.picList = t.data.picList);

                                  case 4:
                                  case "end":
                                    return n.stop();
                                }
                            }, n);
                        }), function() {
                            var n = this, r = arguments;
                            return new Promise(function(t, e) {
                                var o = u.apply(n, r);
                                function a(n) {
                                    c(o, t, e, a, i, "next", n);
                                }
                                function i(n) {
                                    c(o, t, e, a, i, "throw", n);
                                }
                                a(void 0);
                            });
                        }();
                    }
                }
            };
            a.default = t;
        }).call(this, i("543d").default);
    },
    d44d: function(n, t, e) {
        (function(n) {
            function t(n) {
                return n && n.__esModule ? n : {
                    default: n
                };
            }
            e("8163"), t(e("66fd")), n(t(e("5656")).default);
        }).call(this, e("543d").createPage);
    },
    d702: function(n, t, e) {
        var o = e("d746");
        e.n(o).a;
    },
    d746: function(n, t, e) {}
}, [ [ "d44d", "common/runtime", "common/vendor" ] ] ]);